if(${PLATFORM} STREQUAL "solo5-hvt")
  message(STATUS "platform x86_solo5")
  add_subdirectory(x86_solo5)
elseif(${PLATFORM} STREQUAL "solo5-spt")
  message(FATAL_ERROR "SPT not implemented yet")
elseif (${PLATFORM} STREQUAL "nano")
  if (${ARCH} STREQUAL "aarch64")
    add_subdirectory(aarch64_vm)
  else()
    add_subdirectory(x86_nano)
  endif()
else()
  if (${ARCH} STREQUAL "aarch64")
    add_subdirectory(aarch64_vm)
  else()
    message(STATUS "platform x86_pc")
    add_subdirectory(x86_pc)
  endif()
endif()
